#ifndef _APK_TEST_DATA_SAVE_H_
#define _APK_TEST_DATA_SAVE_H_

#include "windows.h"
#include "vector"
#include "map"

using namespace std;

class CTestDataSave
{
private:
	CString mVoltageTestData;
	CString mCurrentTestData;
	CString mDeviceTestData;
	CString mSystemInfoTestData;

	CString mFAUiReportTestData;
	CString mGPSCoolStartTestData;

private:
	map<CString, CString> mVoltageDataMap;
	map<CString, CString> mCurrentDataMap;
	map<CString, CString> mDeviceDataMap;
	map<CString, CString> mSystemInfoDataMap;
	map<CString, CString> mFAUiDataVector;
	map<CString, CString> mGPSColdDataVector;

	map<CString, CString> mRFWifiChannelMap;
	map<CString, CString> mCameraFocusMap;

public:
	CTestDataSave();
	~CTestDataSave();

public:
	BOOL Init();
	void ClearAllData();

	void ClearVoltageData();
	CString AddData2Voltage(CString name, CString value);
	CString GetVoltageData();

	void ClearCurrentData();
	CString AddData2Current(CString name, CString value);
	CString GetCurrentData();

	void ClearDeviceData();
	CString AddData2Device(CString name, CString value);
	CString GetDeviceData();

	void ClearSystemInfoData();
	CString AddData2SystemInfo(CString name, CString value);
	CString GetSystemInfoData();

	void ClearFAUiReportData();
	CString AddData2FAUiReport(CString data);
	CString GetFAUiReportData();

	void ClearGPSCoolStartData();
	CString AddData2GPSCoolStart(CString data);
	CString GetGPSCoolStartData();

	void ClearRFWifiChannelData();
	CString AddData2RFWifiChannel(CString name, CString value);
	CString GetRFWifiChannelData();

	void ClearCameraFocusData();
	CString AddData2CameraFocus(CString name, CString value);
	CString GetCameraFocusData();

};

#endif// _APK_TEST_DATA_SAVE_H_
